package com.zy.dao.bs;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.zy.dao.base.BaseDao;
import com.zy.entity.bs.IntegralDetail;
import com.zy.pojo.query.bs.IntegralDetailQuery;

public interface IntegralDetailDao extends BaseDao<IntegralDetail> {

	List<IntegralDetail> listIntegralDetail(@Param("integralDetailQuery") IntegralDetailQuery integralDetailQuery, @Param("start") Integer start, @Param("limit") Integer limit);

	long countIntegralDetail(@Param("integralDetailQuery") IntegralDetailQuery integralDetailQuery);

	List<IntegralDetail> appList(@Param("userId") Long userId, @Param("start") Integer start, @Param("limit") Integer limit);

	long appCount(@Param("userId") Long userId);

}